<!-- BEGIN: HEADER -->
<div id="header">
    <div id="logo">
        <img src="images/logo2.png" alt="logo" />
    </div><!-- End logo--> 
    
    <!-- BEGIN: GUEST -->
    <div id="form">
        [    <a href="index.php?page=homepage&module=login">Đăng nhập</a> |
             <a href="index.php?page=homepage&module=register">Đăng ký</a> ]
    </div>
	<!-- END: GUEST -->
    
    <!-- BEGIN: USER -->
    <div id="form">
        Xin chào <b>{username}</b>
        [    <a href="index.php?page=homepage&module=profile&id={id}">Thông tin cá nhân</a> |
             <a href="index.php?page=homepage&module=logout" onclick="logout();">Thoát</a> ]
    </div>
    <!-- END: USER -->		

    <div id="home">
        <ul>
			<li><a href="index.php">Trang chủ  </a></li>
			<li><a href="index.php?page=news">Tin khuyến mại   </a></li>
			<li><a href="index.php?page=search">Tìm kiếm  </a></li>
			<li><a href="index.php?page=about&module=about">Liên hệ</a></li>
		</ul>			
	</div><!-- End home-->
</div><!-- End header-->

<div id="flash"> 
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="981" height="236">
<param name="movie" value="images/banner_flash.swf"><param name="quality" value="high"><param name="wmode" value="transparent"><embed src="images/banner_flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="981" height="236"></object>
</div><!--End flash-->

<!-- END: HEADER -->